<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfInit</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfinity-0.4 Reference Manual">
<link rel="up" href="ch02.html" title="Common libinfinity API">
<link rel="prev" href="ch02.html" title="Common libinfinity API">
<link rel="next" href="InfSession.html" title="InfSession">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch02.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfSession.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libinfinity-0.4-InfInit.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#libinfinity-0.4-InfInit.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="InfInit">
<a name="libinfinity-0.4-InfInit"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libinfinity-0.4-InfInit.top_of_page"></a>InfInit</span></h2>
<p>InfInit</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libinfinity-0.4-InfInit.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="libinfinity-0.4-InfInit.html#inf-init" title="inf_init ()">inf_init</a>                            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="libinfinity-0.4-InfInit.html#inf-deinit" title="inf_deinit ()">inf_deinit</a>                          (<em class="parameter"><code><span class="type">void</span></code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="libinfinity-0.4-InfInit.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="libinfinity-0.4-InfInit.details"></a><h2>Details</h2>
<div class="refsect2" title="inf_init ()">
<a name="inf-init"></a><h3>inf_init ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            inf_init                            (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
This function initializes the libinfinity library and should be called
before any other functions of the library. The function does nothing if
it has already been called before.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Location to store error information, if any.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Whether the initialization was successful or not.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_deinit ()">
<a name="inf-deinit"></a><h3>inf_deinit ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                inf_deinit                          (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
This functions deinitializes the libinfinity library. Make sure that all
objects the library provides have been freed before calling this function.
If <a class="link" href="libinfinity-0.4-InfInit.html#inf-init" title="inf_init ()"><code class="function">inf_init()</code></a> has been called multiple times, then <a class="link" href="libinfinity-0.4-InfInit.html#inf-deinit" title="inf_deinit ()"><code class="function">inf_deinit()</code></a> needs to be
called the same number of times to actually deinitialize the library.
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>